<!doctype html>
<html class="no-js fixed-layout" data-ng-app="audittest">
#include("/WEB-INF/tpl/head.vm")

<div data-ng-controller="admin-seq">
	<div class="am-cf am-padding">
		<div class="am-fl am-cf">
			<strong class="am-text-primary am-text-lg">首页</strong> / <small>序列设置</small>
		</div>
	</div>
	<div>
		<div class="am-in">
			<button type="button" class="am-margin-right am-btn am-btn-primary"
				data-ng-click="add()">新增序列</button>
		</div>
		<table
			class="am-table am-table-bd am-table-striped admin-content-table">
			<thead>
				<tr>
					<th>序号</th>
					<th>序列编号</th>
					<th>序列名</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<tr data-ng-repeat="item in items">
					<td>{{$index + 1}}</td>
					<td>{{item.seqbh}}</td>
					<td>{{item.seqname}}</td>
					<td><button type="button" class="am-btn am-btn-primary"
							data-ng-click="edit(item)">编辑</button>
						<button type="button" class="am-btn am-btn-danger"
							data-ng-click="deleteItem(item)">删除</button></td>
				</tr>
			</tbody>
		</table>
	</div>

	<div class="am-modal am-modal-no-btn" tabindex="-1" id="doc-modal-1">
		<div class="am-modal-dialog">
			<div class="am-modal-hd">
				新增/编辑 序列 <a href="javascript: void(0)"
					class="am-close am-close-spin" data-am-modal-close>&times;</a>
			</div>
			<div class="am-modal-bd am-form am-form-horizontal">
				<table
					class="am-table am-table-bd am-table-striped admin-content-table">
					<tr>
						<td>序列编号</td>
						<td><input data-ng-model="currentItem.seqbh" type="text"
							readonly="readonly" /></td>
					</tr>
					<tr>
						<td>序列名称</td>
						<td><input data-ng-model="currentItem.seqname" type="text" /></td>
					</tr>
				</table>
				<button type="button" class="am-btn am-btn-primary"
					data-ng-click="postData()">提交</button>
			</div>
		</div>
	</div>

</div>
#include("/WEB-INF/tpl/footer.vm")
</html>
